package com.dobbyspringside.examples.quickstart.repository;

import com.dobbyspringside.examples.quickstart.entity.User;
import org.springframework.data.repository.PagingAndSortingRepository;

/**
 * Created by liguoqing on 2016/2/16.
 */
public interface UserDao extends PagingAndSortingRepository<User,Long> {

    User findByLoginName(String loginName);
}
